#ifndef PLAYER_H
#define	PLAYER_H

#include "Character.h"
#include "Animation.h"

#include <vector>

#define LIFE_PLAYER 100

using namespace std;

class Player : public Character {
    protected:
        vector<Animation *>animations;
        // Animation *animations;

        Animation *currentAnimation;

    public:
        SDL_Surface* carita;

        // DEBUG
        float p[2];

        Player(float x=500, float y=500);
        Player(const Player& orig);
        virtual ~Player();

        bool OnInit(Character* target=NULL);
        void OnRender(SDL_Surface* display);
        void OnLoop(long time);
        void OnCleanup();

        void OnKeyDown(SDLKey sym, SDLMod mod, Uint16 unicode);
        void OnKeyUp(SDLKey sym, SDLMod mod, Uint16 unicode);
        void OnWheelButtonUp(int mX, int mY);
        void OnWheelButtonDown(int mX, int mY);
        void OnLButtonDown(int mX, int mY);
};

#endif	/* PLAYER_H */

